helloApp.controller('HobbiesCtrl', function ($scope, $http, $stateParams, HobbyService) {

    HobbyService.getHobbiesByUser($stateParams.id, function(data) {
		$scope.hobbies = data;
	});
});